<@page.html title="会籍摊销汇总">
<script type="text/javascript" src="${_appPath!}/js/cal.js"></script>
<script type="text/javascript">
  function detail() {
    var fm = getEl("fm_query");
    if(fm) {
      var pm = getFormData(fm);
      if(!pm) return;
      var url = "detail?"+pm.join("&")
      wopen(url);
    }
  }
</script>
  <div class="search">
    <form id="fm_query" action="_list">
      <dl>
        <dt>统计月份</dt>
        <dd><input type="text" class="date" name="date" value="${dt1!}" onfocus="cal(this);" req="统计月份" /></dd>
        <dd class="button"><input type="button" value="查询" onclick="query();"></dd>
        <#if canExpt??><dd class="button"><input type="button" value="导出" onclick="expt();"></dd></#if>
        <#if canDetail??><dd class="button"><input type="button" value="下载详细报表" onclick="detail();"></dd></#if>
      </dl>
    </form>
  </div>
  <div id="div_list"></div>
<script type="text/javascript">//query();</script>
</@page.html>